<html>
<head><meta charset="utf-8"><title>RFC for validating `#[cfg]` checks · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RFC.20for.20validating.20.60.23.5Bcfg.5D.60.20checks.html">RFC for validating `#[cfg]` checks</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="222107148"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RFC%20for%20validating%20%60%23%5Bcfg%5D%60%20checks/near/222107148" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Arlie Davis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RFC.20for.20validating.20.60.23.5Bcfg.5D.60.20checks.html#222107148">(Jan 08 2021 at 18:21)</a>:</h4>
<p>Hey, folks. I've been working on an RFC (and implementation) for checking the validity of <code>#[cfg]</code> tests at compile time. It looks like the RFC review process has stalled; there haven't been any comments or suggestions since mid-November. The last suggestion was that this would be best handled the the Compiler team, not the Language team.</p>
<p>Is there anything I can do to help get this process restarted? The consensus from the review thread seemed to be "this looks good, here are some specific suggestions", which I think I addressed.</p>
<p>RFC PR: <a href="https://github.com/rust-lang/rfcs/pull/3013">https://github.com/rust-lang/rfcs/pull/3013</a><br>
Prototype implementation: <a href="https://github.com/sivadeilra/rust/tree/user/ardavis/check_cfg">https://github.com/sivadeilra/rust/tree/user/ardavis/check_cfg</a></p>



<a name="222107303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RFC%20for%20validating%20%60%23%5Bcfg%5D%60%20checks/near/222107303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RFC.20for.20validating.20.60.23.5Bcfg.5D.60.20checks.html#222107303">(Jan 08 2021 at 18:22)</a>:</h4>
<p>This was talked above briefly in the compiler meeting this week. Perhaps <span class="user-mention" data-user-id="116083">@pnkfelix</span> can help decide what the best next steps are?</p>



<a name="222107414"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/RFC%20for%20validating%20%60%23%5Bcfg%5D%60%20checks/near/222107414" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> davidtwco <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/RFC.20for.20validating.20.60.23.5Bcfg.5D.60.20checks.html#222107414">(Jan 08 2021 at 18:23)</a>:</h4>
<p><a href="#narrow/stream/238009-t-compiler.2Fmeetings/topic/.5Bweekly.20meeting.5D.202021-01-07.20.2354818/near/221957301">discussion in compiler team weekly meeting</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>